package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author: 曹远远
 * @date: 2020-6-30
 * @desrcption: 工单联动客户与联系人电话
 */
@Getter
@Setter
@ToString
public class LinkWorkOrderPhoneDTO extends BaseDTO {

    private Long formId;

    @NotNull(message = "{dto.msg.LinkWorkOrderPhone.businessType.NotNull}")
    private Integer businessType;

    @NotNull(message = "{dto.msg.LinkWorkOrderPhone.dataId.NotNull}")
    private Long dataId;

}
